using System;
using System.Collections.Generic;
using ScrumManagementTool.domain.interfaces;

namespace ScrumManagementTool.domain
{
    public class Backlog : IBacklog
    {
        private IList<IUserStory> userStories = new List<IUserStory>();

        public void AddUserStory(IUserStory userStory)
        {
            userStories.Add(userStory);
        }

        public int GetNumberOfUserStories()
        {
            return userStories.Count;
        }

        public void RemoveUserStory(IUserStory story)
        {
            userStories.Remove(story);
        }

        public void RemoveUserStory(int storyId)
        {
            throw new NotImplementedException();
        }

        public IUserStory GetUserStory(int storyId)
        {
            throw new NotImplementedException();
        }
    }
}